package com.gxuwz.endrskyweather.model;

import java.io.Serializable;

public class Day implements Serializable {
    private String time; // 时间描述
    private String sunUp; // 日出时间
    private String wind; // 风向中文描述
    private String weather_pic; // 天气图片代码
    private double temperature; // 温度
    private String wind_pow; // 风力等级
    private String weather; // 天气中文描述

    // 构造函数
    public Day() {
    }

    // 各字段的 getter 和 setter 方法
    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getSunUp() {
        return sunUp;
    }

    public void setSunUp(String sunUp) {
        this.sunUp = sunUp;
    }

    public String getWind() {
        return wind;
    }

    public void setWind(String wind) {
        this.wind = wind;
    }

    public String getWeather_pic() {
        return weather_pic;
    }

    public void setWeather_pic(String weather_pic) {
        this.weather_pic = weather_pic;
    }

    public double getTemperature() {
        return temperature;
    }

    public void setTemperature(double temperature) {
        this.temperature = temperature;
    }

    public String getWind_pow() {
        return wind_pow;
    }

    public void setWind_pow(String wind_pow) {
        this.wind_pow = wind_pow;
    }

    public String getWeather() {
        return weather;
    }

    public void setWeather(String weather) {
        this.weather = weather;
    }

    @Override
    public String toString() {
        return "DayInfo{" +
                "time='" + time + '\'' +
                ", sunUp='" + sunUp + '\'' +
                ", wind='" + wind + '\'' +
                ", weather_pic='" + weather_pic + '\'' +
                ", temperature=" + temperature +
                ", wind_pow='" + wind_pow + '\'' +
                ", weather='" + weather + '\'' +
                '}';
    }
}
